; Hyacine

; Constants -------------------------

[Constants]
global $active

global persist $makeup = 0
global persist $color = 0
global persist $ears = 0
global persist $tail = 0
global persist $wombtattoo = 0

global persist $furneck = 1
global persist $furchest = 1
global persist $furarms = 0
global persist $furwrist = 0
global persist $furhips = 0
global persist $furthighs = 0
global persist $furfeet = 0

global persist $heels = 0
global persist $bowtie = 0

global persist $gloves = 0
global persist $socks = 0

global persist $pawgloves = 1
global persist $pawboots = 1

global persist $bikinitop = 0
global persist $bikinibottom = 0

global persist $nipplepasties = 1
global persist $vaginapasties = 1

global persist $nipplepiercing = 1
global persist $clitpiercing = 1

global $menu = 0
global $page = 0
global $hold
global $holdShape
global $drag

global $navigating
global $navSpeed
global $hovering
global $slot
global $hoveredSlot
global $clickedSlot
global $selectedSlot = 0
global $targetSelectedSlot = 0
global $navDirection = -1

global persist $mx = 0.58
global persist $my = 0.25

global $ww
global $wh
global $cpx
global $cpy

global $dt
global $ts

[KeyShowMenu1]
condition = $active == 1
key = h
type = cycle
$menu = 0,1

[KeyShowMenu2]
condition = $active == 1
key = /
type = cycle
$menu = 0,1

[KeyMenu.ResetPosition]
condition = $menu == 1
key = no_ctrl shift VK_RIGHT
run = CommandListResetMenuPos

[KeyHold]
condition = $menu == 1 && $hovering == 0
key = no_ctrl no_shift VK_LBUTTON
key = no_ctrl no_shift VK_RBUTTON
type = hold
$hold = 1

[KeyHoldShape]
condition = $menu == 1 && $hovering > 1
key = no_ctrl no_shift VK_LBUTTON
key = no_ctrl no_shift VK_RBUTTON
type = hold
run = CommandListHoldShape

[CommandListHoldShape]
$holdShape = $hovering
post $holdShape = 0

[KeyClickedSlot]
condition = $hovering == 1 && $menu == 1
key = no_ctrl no_shift VK_LBUTTON
key = no_ctrl no_shift VK_RBUTTON
run = CommandListClickedSlot

[Present]
post $active = 0
if $active
	$dt = time - $ts
	$ts = time
	if $menu
		run = CommandListOutfitMenu
	endif
endif

; Custom Menu ==========================================

[CommandListDimensions]
if window_width != 0
	$ww = window_width
	$wh = window_height
elif $ww != 0
	$ww = rt_width
	$wh = rt_height
else
	$ww = res_width
	$wh = res_height
endif

if cursor_x != 0 && cursor_y != 0
	$cpx = cursor_x
	$cpy = cursor_y
elif cursor_window_x != 0 && cursor_window_y != 0
	$cpx = cursor_window_x / $ww
	$cpy = cursor_window_y / $wh
else
	$cpx = cursor_screen_x / $ww
	$cpy = cursor_screen_y / $wh
endif

[CommandListClickedSlot]
$clickedSlot = $hoveredSlot

if $clickedSlot == 1
	$furneck = 1 - $furneck
	if $bowtie == 1
		$bowtie = 0
	endif
elif $clickedSlot == 2
	$bowtie = 1 - $bowtie
	if $furneck == 0
		$furneck = 1
		$bowtie = 0
	endif
elif $clickedSlot == 3
	$makeup = $makeup + 1
	if $makeup > 2
		$makeup = 0
	endif
elif $clickedSlot == 4
	$furchest = 1 - $furchest
elif $clickedSlot == 5
	$bikinitop = 1 - $bikinitop
	if $nipplepasties != 1
		$nipplepasties = 1
	endif
elif $clickedSlot == 6
	$color = $color + 1
	if $color > 2
		$color = 0
	endif
elif $clickedSlot == 7
	$furhips = 1 - $furhips
elif $clickedSlot == 8
	$bikinibottom = 1 - $bikinibottom
	if $vaginapasties == 0
		$vaginapasties = 1
	endif
	if $clitpiercing == 0
		$clitpiercing = 1
	endif
elif $clickedSlot == 9
	$ears = 1 - $ears
elif $clickedSlot == 10
	$furarms = 1 - $furarms
elif $clickedSlot == 11
	$gloves = 1 - $gloves
elif $clickedSlot == 12
	$tail = $tail + 1
	if $tail > 2
		$tail = 0
	endif
elif $clickedSlot == 13
	$furwrist = 1 - $furwrist
	if $pawgloves == 0
		$pawgloves = 1
	endif
elif $clickedSlot == 14
	$pawgloves = 1 - $pawgloves
	if $furwrist == 0
		$furwrist = 1
	endif
elif $clickedSlot == 15
	$pawboots = 1 - $pawboots
	if $furfeet == 0
		$furfeet = 1
	endif
	if $heels == 0
		$heels = 1
	endif
elif $clickedSlot == 16
	$wombtattoo = 1 - $wombtattoo
elif $clickedSlot == 17
	$furthighs = 1 - $furthighs
elif $clickedSlot == 18
	$socks = 1 - $socks
elif $clickedSlot == 19
	$nipplepiercing = 1 - $nipplepiercing
	if $furchest != 1
		$furchest = 1
	endif
	if $bikinitop != 1
		$bikinitop = 1
	endif
	if $nipplepasties != 1
		$nipplepasties = 1
	endif
elif $clickedSlot == 20
	$clitpiercing = 1 - $clitpiercing
	if $bikinibottom == 0
		$bikinibottom = 1
	endif
	if $vaginapasties == 0
		$vaginapasties = 1
	endif
elif $clickedSlot == 21
	$furfeet = 1 - $furfeet
	if $pawboots == 0
		$pawboots = 1
	endif
elif $clickedSlot == 22
	$heels = 1 - $heels
	if $pawboots == 0
		$pawboots = 1
	endif
elif $clickedSlot == 23
	$nipplepasties = 1 - $nipplepasties
	if $furchest != 1
		$furchest = 1
	endif
	if $bikinitop != 1
		$bikinitop = 1
	endif
	if $nipplepiercing != 1
		$nipplepiercing = 1
	endif
elif $clickedSlot == 24
	$vaginapasties = 1 - $vaginapasties
	if $bikinibottom == 0
		$bikinibottom = 1
	endif
	if $clitpiercing == 0
		$clitpiercing = 1
	endif
endif

[CommandListSlotItemImage]
x87 = 52 / $ww 
y87 = 52 / $wh
z87 = z87 + 6 / $ww
w87 = w87 + 12 / $ww
if $slot == 1
	ps-t100 = ResourceMenuItem.1
	run = CustomShaderElement
elif $slot == 2
	ps-t100 = ResourceMenuItem.2
	run = CustomShaderElement
elif $slot == 3
	ps-t100 = ResourceMenuItem.3
	run = CustomShaderElement
elif $slot == 4
	ps-t100 = ResourceMenuItem.4
	run = CustomShaderElement
elif $slot == 5
	ps-t100 = ResourceMenuItem.5
	run = CustomShaderElement
elif $slot == 6
	ps-t100 = ResourceMenuItem.6
	run = CustomShaderElement
elif $slot == 7
	ps-t100 = ResourceMenuItem.7
	run = CustomShaderElement
elif $slot == 8
	ps-t100 = ResourceMenuItem.8
	run = CustomShaderElement
elif $slot == 9
	ps-t100 = ResourceMenuItem.9
	run = CustomShaderElement
elif $slot == 10
	ps-t100 = ResourceMenuItem.10
	run = CustomShaderElement
elif $slot == 11
	ps-t100 = ResourceMenuItem.11
	run = CustomShaderElement
elif $slot == 12
	ps-t100 = ResourceMenuItem.12
	run = CustomShaderElement
elif $slot == 13
	ps-t100 = ResourceMenuItem.13
	run = CustomShaderElement
elif $slot == 14
	ps-t100 = ResourceMenuItem.14
	run = CustomShaderElement
elif $slot == 15
	ps-t100 = ResourceMenuItem.15
	run = CustomShaderElement
elif $slot == 16
	ps-t100 = ResourceMenuItem.16
	run = CustomShaderElement
elif $slot == 17
	ps-t100 = ResourceMenuItem.17
	run = CustomShaderElement
elif $slot == 18
	ps-t100 = ResourceMenuItem.18
	run = CustomShaderElement
elif $slot == 19
	ps-t100 = ResourceMenuItem.19
	run = CustomShaderElement
elif $slot == 20
	ps-t100 = ResourceMenuItem.20
	run = CustomShaderElement
elif $slot == 21
	ps-t100 = ResourceMenuItem.21
	run = CustomShaderElement
elif $slot == 22
	ps-t100 = ResourceMenuItem.22
	run = CustomShaderElement
elif $slot == 23
	ps-t100 = ResourceMenuItem.23
	run = CustomShaderElement
elif $slot == 24
	ps-t100 = ResourceMenuItem.24
	run = CustomShaderElement
endif

x87 = 64 / $ww 
y87 = 64 / $wh
z87 = z87 - 6 / $ww
w87 = w87 - 12 / $ww

[CommandListOutfitMenu]
run = CommandListDimensions
run = CommandListBackground

[CommandListBackground]
local $cox
local $coy
ps-t100 = ResourceMenuBG
y87 = 650 / $wh
x87 = 360 / $ww
if $hovering == 0
	if $drag == 0
		if $cpx > $mx + 0.0125 && $cpx < ($mx+x87-0.0035) && $cpy > $my && $cpy < ($my+y87-0.0035)
			if $hold
				$cox = $cpx - $mx
				$coy = $cpy - $my
				$drag = 1
			endif
		endif
	else
		if $hold
			$mx = $cpx - $cox
			$my = $cpy - $coy
		else
			$drag = 0
		endif
	endif
endif
z87 = $mx
w87 = $my
run = CustomShaderElement
run = CommandListDrawToggles

[CommandListDrawToggles]
local $z0 = z87 + 23 / $ww
local $z1 = $z0 + 83 / $ww
local $z2 = $z0 + 165 / $ww
local $z3 = $z0 + 250 / $ww
local $wo = 84 / $wh

$hovering = 0
$slot = 0
x87 = 64 / $ww 
y87 = 64 / $wh

z87 = $z0
w87 = w87 + 60 / $wh
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z0
w87 = w87 + $wo
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z0
w87 = w87 + $wo
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z0
w87 = w87 + $wo
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z0
z87 = $z0
w87 = w87 + $wo
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z0
w87 = w87 + $wo
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot
z87 = $z3
run = CommandListSlot
z87 = $z0
w87 = w87 + $wo
run = CommandListSlot
z87 = $z1
run = CommandListSlot
z87 = $z2
run = CommandListSlot
z87 = $z3
run = CommandListSlot

[CommandListSlot]
$slot = $slot + 1
run = CommandListSlotItemImage
if $cpx > z87 && $cpx < (z87+x87-0.0035) && $cpy > w87 && $cpy < (w87+y87-0.0035)
	ps-t100 = ResourceItemSlotHover.1
	$hovering = 1
	$hoveredSlot = $slot
	$selectedSlot = 0
else
	if $slot == $selectedSlot // 1
		$hoveredSlot = $slot
		ps-t100 = ResourceItemSlotHover.1
	else
		ps-t100 = ResourceItemSlot
	endif
endif
run = CustomShaderElement
if $clickedSlot == $slot
	ps-t100 = ResourceItemSlotHover.2
	run = CustomShaderElement
	$clickedSlot = 0
endif

[CommandListResetMenuPos]
$mx = 50 / $ww
$my = 0.5 - 360 / $wh

[CustomShaderElement]
vs = ..\toggles\draw_2d.hlsl
ps = ..\toggles\draw_2d.hlsl
run = BuiltInCommandListUnbindAllRenderTargets
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = triangle_strip
o0 = set_viewport bb
Draw = 4,0

[ResourceMenuBG]
filename = ..\toggles\Menu.dds

[ResourceItemSlot]
filename = ..\toggles\Slot.dds

[ResourceItemSlotHover.1]
filename = ..\toggles\Slot_Hover.dds

[ResourceItemSlotHover.2]
filename = ..\toggles\Slot_Hover_2.dds

[ResourceMenuItem.1]
filename =..\toggles\item_1.dds

[ResourceMenuItem.2]
filename =..\toggles\item_2.dds

[ResourceMenuItem.3]
filename =..\toggles\item_3.dds

[ResourceMenuItem.4]
filename =..\toggles\item_4.dds

[ResourceMenuItem.5]
filename = ..\toggles\item_5.dds

[ResourceMenuItem.6]
filename =..\toggles\item_6.dds

[ResourceMenuItem.7]
filename =..\toggles\item_7.dds

[ResourceMenuItem.8]
filename =..\toggles\item_8.dds

[ResourceMenuItem.9]
filename =..\toggles\item_9.dds

[ResourceMenuItem.10]
filename =..\toggles\item_10.dds

[ResourceMenuItem.11]
filename =..\toggles\item_11.dds

[ResourceMenuItem.12]
filename =..\toggles\item_12.dds

[ResourceMenuItem.13]
filename =..\toggles\item_13.dds

[ResourceMenuItem.14]
filename =..\toggles\item_14.dds

[ResourceMenuItem.15]
filename =..\toggles\item_15.dds

[ResourceMenuItem.16]
filename =..\toggles\item_16.dds

[ResourceMenuItem.17]
filename =..\toggles\item_17.dds

[ResourceMenuItem.18]
filename =..\toggles\item_18.dds

[ResourceMenuItem.19]
filename =..\toggles\item_19.dds

[ResourceMenuItem.20]
filename =..\toggles\item_20.dds

[ResourceMenuItem.21]
filename =..\toggles\item_21.dds

[ResourceMenuItem.22]
filename =..\toggles\item_22.dds

[ResourceMenuItem.23]
filename =..\toggles\item_23.dds

[ResourceMenuItem.24]
filename =..\toggles\item_24.dds

; Textures -------------------------

[CommandListHyacineBodyADiffuse]
if $color == 0 && $wombtattoo == 0
	this = ResourceBody.BlackWomb
elif $color == 1 && $wombtattoo == 0
	this = ResourceBody.BlackPinkWomb
elif $color == 2 && $wombtattoo == 0
	this = ResourceBody.PinkWomb
elif $color == 0 && $wombtattoo == 1
	this = ResourceBody.Black
elif $color == 1 && $wombtattoo == 1
	this = ResourceBody.BlackPink
elif $color == 2 && $wombtattoo == 1
	this = ResourceBody.Pink
endif

[ResourceBody.Pink]
filename = ..\textures\body\Pink.dds

[ResourceBody.Black]
filename = ..\textures\body\Black.dds

[ResourceBody.BlackPinkWomb]
filename = ..\textures\body\BlackPinkWomb.dds

[ResourceBody.BlackPink]
filename = ..\textures\body\BlackPink.dds

[ResourceBody.PinkWomb]
filename = ..\textures\body\PinkWomb.dds

[ResourceBody.BlackWomb]
filename = ..\textures\body\BlackWomb.dds

[CommandListHyacineHeadADiffuse]
if $makeup == 0
	this = ResourceMakeup.Blush
elif $makeup == 1
	this = ResourceMakeup.Makeup
elif $makeup == 2
	this = ResourceMakeup.Base
endif

[ResourceMakeup.Blush]
filename = ..\textures\head\Blush.dds

[ResourceMakeup.Makeup]
filename = ..\textures\head\Makeup.dds

[ResourceMakeup.Base]
filename = ..\textures\head\Base.dds

; Overrides -------------------------

[TextureOverrideHyacineBodyBlend]
hash = 4535e8b6
$active = 1
handling = skip
vb2 = ResourceHyacineBodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceHyacineBodyPosition
	draw = 221711,0
endif
ResourceHyacineBodyDrawCS = copy ResourceHyacineBodyDrawCS
if DRAW_TYPE == 8    
	Resource\SRMI\PositionBuffer = ref ResourceHyacineBodyPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceHyacineBodyBlendCS
	Resource\SRMI\DrawBuffer = ref ResourceHyacineBodyDrawCS
	$\SRMI\vertcount = 221711
elif DRAW_TYPE != 1
	$_blend_ = 2
endif

[TextureOverrideHyacineBodyTexcoord]
hash = ac46df25
vb1 = ResourceHyacineBodyTexcoord

[TextureOverrideHyacineBodyLimitDraw]
hash = 42915465
;override_vertex_count = 221711
;override_byte_stride = 40
if DRAW_TYPE != 8 && DRAW_TYPE != 1 && $_blend_ > 0
	$_blend_ = $_blend_ - 1
	this = ref ResourceHyacineBodyDrawCS
endif

[TextureOverrideHyacineHeadBlend]
hash = 8c18617d
handling = skip
vb2 = ResourceHyacineHeadBlend
if DRAW_TYPE == 1
	vb0 = ResourceHyacineHeadPosition
	draw = 3180,0
endif
ResourceHyacineFaceDrawCS = copy ResourceHyacineFaceDrawCS
if DRAW_TYPE == 8    
	Resource\SRMI\PositionBuffer = ref ResourceHyacineHeadPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceHyacineHeadBlendCS
	Resource\SRMI\DrawBuffer = ref ResourceHyacineFaceDrawCS
	$\SRMI\vertcount = 3180
elif DRAW_TYPE != 1
	$_blend_ = 2
endif

[TextureOverrideHyacineHeadTexcoord]
hash = 9c01ae0a
vb1 = ResourceHyacineHeadTexcoord

[TextureOverrideHyacineHeadLimitDraw]
hash = 51e9543e
;override_vertex_count = 3180
;override_byte_stride = 40
if DRAW_TYPE != 8 && DRAW_TYPE != 1 && $_blend_ > 0
	$_blend_ = $_blend_ - 1
	this = ref ResourceHyacineFaceDrawCS
endif

[TextureOverrideHyacineHairBlend]
hash = c1cdf8cf
handling = skip
vb2 = ResourceHyacineHairBlend
if DRAW_TYPE == 1
	vb0 = ResourceHyacineHairPosition
	draw = 3806,0
endif
ResourceHyacineHairDrawCS = copy ResourceHyacineHairDrawCS
if DRAW_TYPE == 8    
	Resource\SRMI\PositionBuffer = ref ResourceHyacineHairPositionCS
	Resource\SRMI\BlendBuffer = ref ResourceHyacineHairBlendCS
	Resource\SRMI\DrawBuffer = ref ResourceHyacineHairDrawCS
	$\SRMI\vertcount = 3806
elif DRAW_TYPE != 1
	$_blend_ = 2
endif

[TextureOverrideHyacineHairTexcoord]
hash = 9549ab8f
vb1 = ResourceHyacineHairTexcoord

[TextureOverrideHyacineHairLimitDraw]
hash = c7ab6927
;override_vertex_count = 3806
;override_byte_stride = 40
if DRAW_TYPE != 8 && DRAW_TYPE != 1 && $_blend_ > 0
	$_blend_ = $_blend_ - 1
	this = ref ResourceHyacineHairDrawCS
endif

[TextureOverrideHyacineBodyIB]
hash = 847d5c37
handling = skip

[TextureOverrideHyacineBodyA]
hash = 847d5c37
match_first_index = 0
ib = ResourceHyacineBodyAIB
; Body
; Erect nipples (482)
if $nipplepasties == 1 && $bikinitop == 1
	drawindexed = 2448, 0, 0
endif
; Nude (4690)
drawindexed = 23877, 2448, 0
; Arms
; Arms (507)
if $gloves == 1
	drawindexed = 2499, 26325, 0
endif
; Arms w/ longgloves (537)
if $gloves == 0
	drawindexed = 2499, 28824, 0
endif
; Hands
; Hands (2016)
if $gloves == 1 && $pawgloves == 1
	drawindexed = 9039, 31323, 0
endif
; Hands w/ longgloves (1850)
if $gloves == 0 && $pawgloves == 1
	drawindexed = 8481, 40362, 0
endif
; Legs
; Legs (789)
if $socks == 1
	drawindexed = 3588, 48843, 0
endif
; Legs w/ thighhighs (796)
if $socks == 0
	drawindexed = 3588, 52431, 0
endif
; Feet
; Feet (2090)
if $socks == 1 && $heels == 1 && $pawboots == 1
	drawindexed = 9039, 56019, 0
endif
; Feet w/ paw boots (184)
if $socks == 1 && $heels == 1 && $pawboots == 0
	drawindexed = 726, 65058, 0
endif
; Feet w/ thighhighs (1904)
if $socks == 0 && $heels == 1 && $pawboots == 1
	drawindexed = 8364, 65784, 0
endif
; Feet w/ thighhighs & paw boots (184)
if $socks == 0 && $heels == 1 && $pawboots == 0
	drawindexed = 726, 74148, 0
endif
; Heels (1086)
if $socks == 1 && $heels == 0
	drawindexed = 3336, 74874, 0
endif
; Heels w/ thighhighs (1086)
if $socks == 0 && $heels == 0
	drawindexed = 3336, 78210, 0
endif
; Piercings
; Clit piercing (1135)
if $clitpiercing == 0
	drawindexed = 6336, 81546, 0
endif
; Nipple Piercings (2496)
if $nipplepiercing == 0
	drawindexed = 12264, 87882, 0
endif
; Bikini
; Bikini bottom (4478)
if $bikinibottom == 0
	drawindexed = 21768, 100146, 0
endif
; Bikini top (2326)
if $bikinitop == 0
	drawindexed = 11052, 121914, 0
endif
; Bikini top tie (1290)
if $bikinitop == 0 && $bowtie == 1 && $furneck == 1
	drawindexed = 6096, 132966, 0
endif
; Pasties
; Nipple Pasties (1488)
if $nipplepasties == 0
	drawindexed = 8256, 139062, 0
endif
; Vagina Pasties (187)
if $vaginapasties == 0
	drawindexed = 1104, 147318, 0
endif
; Vagina Pasties - preg (187)
; drawindexed = 1104, 148422, 0
; Fur
; Arms (fur) (28011)
if $furarms == 0
	drawindexed = 111876, 149526, 0
endif
; Bra (fur) (15288)
if $furchest == 0
	drawindexed = 61464, 261402, 0
endif
; Feet (fur) (26161)
if $furfeet == 0
	drawindexed = 105060, 322866, 0
endif
; Hips (fur) (14979)
if $furhips == 0
	drawindexed = 60201, 427926, 0
endif
; Neck (fur) (30577)
if $furneck == 0
	drawindexed = 122817, 488127, 0
endif
; String (2026)
if $furhips == 0
	drawindexed = 10194, 610944, 0
endif
; Thighs (fur) (23992)
if $furthighs == 0
	drawindexed = 94644, 621138, 0
endif
; Wrist (fur) (27230)
if $furwrist == 0
	drawindexed = 109098, 715782, 0
endif
; Toggles
; Cat Ears (480)
if $ears == 0
	drawindexed = 1758, 824880, 0
endif
; Collar + Bowtie + Bell (979)
if $bowtie == 0
	drawindexed = 3087, 826638, 0
endif
; Paw Boots (8308)
if $pawboots == 0
	drawindexed = 45120, 829725, 0
endif
; Paw Gloves (10000)
if $pawgloves == 0
	drawindexed = 54840, 874845, 0
endif
; Tail (916)
if $tail != 2
	drawindexed = 5004, 929685, 0
endif
; TogglesA
; Back ribbon (468)
if $tail == 0
	drawindexed = 1440, 934689, 0
endif
; Cyrene's hair accessories no ears (254)
if $ears == 1
	drawindexed = 717, 936129, 0
endif
; Cyrene's hair accessories w/ ears (254)
; if $ears == 0
; 	drawindexed = 717, 936846, 0
; endif

[TextureOverrideHyacineBodyADiffuse]
hash = b8646726
run = CommandListHyacineBodyADiffuse

[TextureOverrideHyacineBodyALightMap]
hash = ef29d267
this = ResourceHyacineBodyALightMap

[TextureOverrideHyacineBodyB]
hash = 847d5c37
match_first_index = 9804
ib = null

[TextureOverrideHyacineBodyC]
hash = 847d5c37
match_first_index = 59928
ib = null

[TextureOverrideHyacineHeadIB]
hash = 9e06efbe
handling = skip

[TextureOverrideHyacineHeadA]
hash = 9e06efbe
match_first_index = 0
ib = ResourceHyacineHeadAIB
; HyacineHeadA
; Cyrene head (3116)
drawindexed = 12714, 0, 0

[TextureOverrideHyacineHeadADiffuse]
hash = bb37fe93
run = CommandListHyacineHeadADiffuse

[TextureOverrideHyacineHeadB]
hash = 9e06efbe
match_first_index = 12648
ib = ResourceHyacineHeadBIB
; HyacineHeadB
; HeadB (64)
drawindexed = 180, 0, 0

[TextureOverrideHyacineHairIB]
hash = cba92d02
handling = skip

[TextureOverrideHyacineHairA]
hash = cba92d02
match_first_index = 0
ib = ResourceHyacineHairAIB
; HyacineHairA
; Cyrene hair (3612)
drawindexed = 11742, 0, 0
; Cyrene hair tail (194)
if $furneck == 1
	drawindexed = 750, 11742, 0
endif

[TextureOverrideHyacineHairADiffuse]
hash = b4c8a01d
this = ResourceHyacineHairADiffuse

[TextureOverrideHyacineHairALightMap]
hash = 86f2a646
this = ResourceHyacineHairALightMap

; CommandList -----------------------

; Resources -------------------------

[ResourceHyacineBodyPosition]
type = Buffer
stride = 40
filename = HyacineBodyPosition.buf

[ResourceHyacineBodyBlend]
type = Buffer
stride = 32
filename = HyacineBodyBlend.buf

[ResourceHyacineBodyTexcoord]
type = Buffer
stride = 20
filename = HyacineBodyTexcoord.buf

[ResourceHyacineHeadPosition]
type = Buffer
stride = 40
filename = HyacineHeadPosition.buf

[ResourceHyacineHeadBlend]
type = Buffer
stride = 32
filename = HyacineHeadBlend.buf

[ResourceHyacineHeadTexcoord]
type = Buffer
stride = 12
filename = HyacineHeadTexcoord.buf

[ResourceHyacineHairPosition]
type = Buffer
stride = 40
filename = HyacineHairPosition.buf

[ResourceHyacineHairBlend]
type = Buffer
stride = 32
filename = HyacineHairBlend.buf

[ResourceHyacineHairTexcoord]
type = Buffer
stride = 8
filename = HyacineHairTexcoord.buf

[ResourceHyacineBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HyacineBodyA.ib

[ResourceHyacineBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HyacineBodyB.ib

[ResourceHyacineBodyCIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HyacineBodyC.ib

[ResourceHyacineHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HyacineHeadA.ib

[ResourceHyacineHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HyacineHeadB.ib

[ResourceHyacineHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = HyacineHairA.ib

[ResourceHyacineBodyADiffuse]
filename = HyacineBodyADiffuse.dds

[ResourceHyacineBodyALightMap]
filename = HyacineBodyALightMap.dds

[ResourceHyacineHeadADiffuse]
filename = HyacineHeadADiffuse.dds

[ResourceHyacineHairADiffuse]
filename = HyacineHairADiffuse.dds

[ResourceHyacineHairALightMap]
filename = HyacineHairALightMap.dds



; .ini generated by XXMI (XX-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues

[Constants]
global $_blend_ = 0

; -------------------- Auto-generated CS resources --------------------

[ResourceHyacineBodyDrawCS]
type = RWStructuredBuffer
array = 221711
data = R32_FLOAT 1 2 3 4 5 6 7 8 9 10

[ResourceHyacineBodyPositionCS]
type = StructuredBuffer
stride = 40
filename = HyacineBodyPosition.buf

[ResourceHyacineBodyBlendCS]
type = StructuredBuffer
stride = 32
filename = HyacineBodyBlend.buf

[ResourceHyacineFaceDrawCS]
type = RWStructuredBuffer
array = 3180
data = R32_FLOAT 1 2 3 4 5 6 7 8 9 10

[ResourceHyacineHeadPositionCS]
type = StructuredBuffer
stride = 40
filename = HyacineHeadPosition.buf

[ResourceHyacineHeadBlendCS]
type = StructuredBuffer
stride = 32
filename = HyacineHeadBlend.buf

[ResourceHyacineHairDrawCS]
type = RWStructuredBuffer
array = 3806
data = R32_FLOAT 1 2 3 4 5 6 7 8 9 10

[ResourceHyacineHairPositionCS]
type = StructuredBuffer
stride = 40
filename = HyacineHairPosition.buf

[ResourceHyacineHairBlendCS]
type = StructuredBuffer
stride = 32
filename = HyacineHairBlend.buf

